T
The enumeration type
Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Parse<T>(String) Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > GeneralExtensions Class > Parse Method : Parse<T>(String) Method



value
The string to parse.
value
The string to parse.
Parses the specified string to an enumeration.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Overloads Public Shared Function Parse(Of T)( _
   ByVal value As String _
) As T
Visual Basic (Usage)Copy Code
Dim value As String
Dim value As T
 
value = GeneralExtensions.Parse(Of T)(value)
C# 
[ExtensionAttribute()]
public static T Parse<T>( 
   string value
)
C++/CLI 
[ExtensionAttribute()]
public:
static T^ Parsegeneric<typename T>
( 
   String^ value
) 

Parameters

value
The string to parse.

Type Parameters

T
The enumeration type

Return Value

The enumeration value that corresponds to the string.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features